package com.lone.demo.singleton;

public class SingletonTest04 {
    public static void main(String[] args) {
        Singleton4 instance1 = Singleton4.INSTANCE;
        Singleton4 instance2 = Singleton4.INSTANCE;
        System.out.println(instance1 == instance2);
    }
}

enum Singleton4{
    INSTANCE;
}
